package com.example.tse.rbyair.PKmy.fragment;

import android.annotation.SuppressLint;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.LinearLayout;

import com.example.tse.rbyair.R;

import org.kymjs.kjframe.widget.KJListView;

@SuppressLint("NewApi")
public class UsedCouponFragment extends Fragment{
	String status = "0";
	int a;
	View messageLayout;
	LinearLayout emptyLayout;
	private int page = 1;
	private int size = 10;
	private KJListView pulltorefershList;

	@Override
	public View onCreateView(LayoutInflater inflater, ViewGroup container,
			Bundle savedInstanceState) {
		messageLayout = LayoutInflater.from(getActivity()).inflate(
				R.layout.coupon_list, container, false);
		initView();
		initListView();

		return messageLayout;
	}

	private void initView() {
		pulltorefershList = (KJListView)messageLayout.findViewById(R.id.pulltorefersh_list);
	}


	@Override
	public void setUserVisibleHint(boolean isVisibleToUser) {
		super.setUserVisibleHint(isVisibleToUser);
	}

	public void initListView() {

	}

	protected void initEmptyLayout() {
		pulltorefershList.setVisibility(View.GONE);
		emptyLayout.setVisibility(View.VISIBLE);
	}
}
